<!DOCTYPE>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
<style type="text/css">
	table.gridtable {
		font-family: verdana,arial,sans-serif;
		font-size:15px;
		color:#333333;
		border-width: 1px;
		border-color: #666666;
		border-collapse: collapse;
	}
	table.gridtable th {
		border-width: 1px;
		padding: 8px;
		border-style: solid;
		border-color: #666666;
		background-color: #e7f3f3;
	}
	table.gridtable td {
		border-width: 1px;
		padding: 8px;
		border-style: solid;
		border-color: #666666;
		background-color: #ffffff;
		text-align: center;
	}
	a {
	text-decoration: none; 
	color:#1cc09f;
	font-weight:bold; 
	}
	h2{color:#1cc09f;}
	h3{color:red;}
</style>
<meta charset="UTF-8">
<title>查看人员信息</title>
</head>
<body>
<div align="center">
	<h2>查看所有员工信息</h2>
	<h3>${df}</h3>
		<table class="gridtable">
			<tr>
				<th>序号</th>
				<th>姓名</th>
				<th>性别</th>
				<th>入职时间</th>
				<th>职位</th>				
				<th>选择</th>
			</tr>
		<c:forEach items="${list}" var="l" varStatus="status">
			<tr>
				<td>${status.count }</td>
				<td>${l.name }</td>
				<td>${l.sex }</td>
				<td>${l.hire_date }</td>
				<td>${l.position}</td>
				<td><a href="${pageContext.request.contextPath }/zgDetailedStaffServlet?username=${l.username }">详细信息</a></td>
			</tr>
		</c:forEach>
		</table>
</div>
</body>
</html>